# $Id: PKGBUILD 64657 2012-02-17 13:40:45Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>

pkgname=man-pages-it
pkgver=2.80
pkgrel=5
pkgdesc="Italian man pages"
arch=('any')
url="http://www.pluto.it/ildp/man/index.html"
license=('GPL')
depends=('man-pages')
options=('!emptydirs')
source=("http://ftp.pluto.it/pub/pluto/ildp/man/$pkgname-$pkgver.tar.gz")
md5sums=('d6edbaf893507f80199f35df9c268aa0')

package() {
  cd ${srcdir}/${pkgname}-${pkgver}

  make MANDIR=${pkgdir}/usr/share/man/it
  make MANDIR=${pkgdir}/usr/share/man/it install

  # remove conflicts with other man pages
  rm -f $pkgdir/usr/share/man/it/man5/passwd.5*
}
